home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / misc / allma.zip / WHT-JUST.SMM < prev    next >
INI File  |  1994-12-01  |  11KB  |  877 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     HP LaserJet IIISi PostScript
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [fldnames]
  18.     Field1
  19.     Field2
  20.     Field3
  21.     Field4
  22.     Field5
  23.     Field6
  24.     Field7
  25.     Field8
  26. [desc]
  27.     Calls up Justification icons
  28.     
  29.     
  30.     
  31.     
  32.     786354775
  33.     31
  34.     757997507
  35.     151
  36.     3
  37.     0
  38.     0
  39.     0
  40.     0
  41.     
  42.     
  43.     
  44.     
  45.     
  46.     
  47.     1
  48. [fopts]
  49.     0
  50.     1
  51.     0
  52.     0
  53.     
  54.     
  55. [lnopts]
  56.     2
  57.     Body Text
  58.     1
  59. [docopts]
  60.     5
  61.     2
  62. [GramStyle]
  63.     
  64. [tag]
  65.     Defines
  66.     2
  67.     [fnt]
  68.         Times New Roman
  69.         200
  70.         0
  71.         49152
  72.     [algn]
  73.         1
  74.         1
  75.         0
  76.         0
  77.         0
  78.     [spc]
  79.         33
  80.         273
  81.         1
  82.         0
  83.         0
  84.         1
  85.         100
  86.     [brk]
  87.         4
  88.     [line]
  89.         8
  90.         0
  91.         1
  92.         0
  93.         1
  94.         1
  95.         1
  96.         10
  97.         10
  98.         1
  99.     [spec]
  100.         0
  101.         0
  102.         
  103.         0
  104.         1
  105.         1
  106.         0
  107.         0
  108.         0
  109.         0
  110.     [nfmt]
  111.         280
  112.         1
  113.         2
  114.         .
  115.         ,
  116.         $
  117.     Body Text
  118.     0
  119.     0
  120. [tag]
  121.     Function
  122.     3
  123.     [fnt]
  124.         Times New Roman
  125.         240
  126.         0
  127.         49153
  128.     [algn]
  129.         1
  130.         1
  131.         0
  132.         0
  133.         0
  134.     [spc]
  135.         33
  136.         273
  137.         1
  138.         0
  139.         0
  140.         1
  141.         100
  142.     [brk]
  143.         68
  144.     [line]
  145.         8
  146.         0
  147.         1
  148.         0
  149.         1
  150.         1
  151.         1
  152.         10
  153.         10
  154.         1
  155.     [spec]
  156.         0
  157.         0
  158.         
  159.         0
  160.         1
  161.         1
  162.         0
  163.         0
  164.         0
  165.         0
  166.     [nfmt]
  167.         280
  168.         1
  169.         2
  170.         .
  171.         ,
  172.         $
  173.     Body Text
  174.     0
  175.     0
  176. [tag]
  177.     If Endif
  178.     4
  179.     [fnt]
  180.         Times New Roman
  181.         240
  182.         16711680
  183.         49153
  184.     [algn]
  185.         1
  186.         1
  187.         0
  188.         0
  189.         0
  190.     [spc]
  191.         33
  192.         273
  193.         1
  194.         0
  195.         0
  196.         1
  197.         100
  198.     [brk]
  199.         68
  200.     [line]
  201.         8
  202.         0
  203.         1
  204.         0
  205.         1
  206.         1
  207.         1
  208.         10
  209.         10
  210.         1
  211.     [spec]
  212.         0
  213.         0
  214.         
  215.         0
  216.         1
  217.         1
  218.         0
  219.         0
  220.         0
  221.         0
  222.     [nfmt]
  223.         280
  224.         1
  225.         2
  226.         .
  227.         ,
  228.         $
  229.     Body Text
  230.     0
  231.     0
  232. [tag]
  233.     For Next
  234.     5
  235.     [fnt]
  236.         Times New Roman
  237.         240
  238.         33024
  239.         49153
  240.     [algn]
  241.         1
  242.         1
  243.         0
  244.         0
  245.         0
  246.     [spc]
  247.         33
  248.         273
  249.         1
  250.         0
  251.         0
  252.         1
  253.         100
  254.     [brk]
  255.         68
  256.     [line]
  257.         8
  258.         0
  259.         1
  260.         0
  261.         1
  262.         1
  263.         1
  264.         10
  265.         10
  266.         1
  267.     [spec]
  268.         0
  269.         0
  270.         
  271.         0
  272.         1
  273.         1
  274.         0
  275.         0
  276.         0
  277.         0
  278.     [nfmt]
  279.         280
  280.         1
  281.         2
  282.         .
  283.         ,
  284.         $
  285.     Body Text
  286.     0
  287.     0
  288. [tag]
  289.     While Wend
  290.     6
  291.     [fnt]
  292.         Times New Roman
  293.         240
  294.         16711809
  295.         49153
  296.     [algn]
  297.         1
  298.         1
  299.         0
  300.         0
  301.         0
  302.     [spc]
  303.         33
  304.         273
  305.         1
  306.         0
  307.         0
  308.         1
  309.         100
  310.     [brk]
  311.         68
  312.     [line]
  313.         8
  314.         0
  315.         1
  316.         0
  317.         1
  318.         1
  319.         1
  320.         10
  321.         10
  322.         1
  323.     [spec]
  324.         0
  325.         0
  326.         
  327.         0
  328.         1
  329.         1
  330.         0
  331.         0
  332.         0
  333.         0
  334.     [nfmt]
  335.         280
  336.         1
  337.         2
  338.         .
  339.         ,
  340.         $
  341.     Body Text
  342.     0
  343.     0
  344. [tag]
  345.     Label
  346.     7
  347.     [fnt]
  348.         Times New Roman
  349.         240
  350.         255
  351.         49153
  352.     [algn]
  353.         1
  354.         1
  355.         0
  356.         0
  357.         0
  358.     [spc]
  359.         33
  360.         273
  361.         1
  362.         0
  363.         0
  364.         1
  365.         100
  366.     [brk]
  367.         4
  368.     [line]
  369.         8
  370.         0
  371.         1
  372.         0
  373.         1
  374.         1
  375.         1
  376.         10
  377.         10
  378.         1
  379.     [spec]
  380.         0
  381.         0
  382.         
  383.         0
  384.         1
  385.         1
  386.         0
  387.         0
  388.         0
  389.         0
  390.     [nfmt]
  391.         280
  392.         1
  393.         2
  394.         .
  395.         ,
  396.         $
  397.     Body Text
  398.     0
  399.     0
  400. [tag]
  401.     Body Text
  402.     8
  403.     [fnt]
  404.         Times New Roman
  405.         240
  406.         0
  407.         49152
  408.     [algn]
  409.         1
  410.         1
  411.         0
  412.         0
  413.         0
  414.     [spc]
  415.         33
  416.         273
  417.         1
  418.         0
  419.         0
  420.         1
  421.         100
  422.     [brk]
  423.         4
  424.     [line]
  425.         8
  426.         0
  427.         1
  428.         0
  429.         1
  430.         1
  431.         1
  432.         10
  433.         10
  434.         1
  435.     [spec]
  436.         0
  437.         0
  438.         
  439.         0
  440.         1
  441.         1
  442.         0
  443.         0
  444.         0
  445.         0
  446.     [nfmt]
  447.         280
  448.         1
  449.         2
  450.         .
  451.         ,
  452.         $
  453.     Body Text
  454.     0
  455.     0
  456. [lay]
  457.     Standard
  458.     513
  459.     [rght]
  460.         15840
  461.         12240
  462.         1
  463.         1440
  464.         1440
  465.         1
  466.         1440
  467.         1440
  468.         0
  469.         1
  470.         0
  471.         1
  472.         0
  473.         2
  474.         1
  475.         1440
  476.         10800
  477.         12
  478.         1
  479.         720
  480.         1
  481.         1440
  482.         1
  483.         2160
  484.         1
  485.         2880
  486.         0
  487.         0
  488.         0
  489.         0
  490.         0
  491.         0
  492.         0
  493.         0
  494.         0
  495.         0
  496.         0
  497.         0
  498.         0
  499.         0
  500.         0
  501.         0
  502.     [hrght]
  503.     [lyfrm]
  504.         1
  505.         11200
  506.         0
  507.         0
  508.         12240
  509.         1440
  510.         0
  511.         1
  512.         3
  513.         1 0 0 0 0 0 0
  514.         0
  515.         0
  516.         1
  517.     [frmlay]
  518.         1440
  519.         12240
  520.         1
  521.         1440
  522.         72
  523.         1
  524.         792
  525.         1440
  526.         0
  527.         1
  528.         0
  529.         1
  530.         1
  531.         0
  532.         1
  533.         1440
  534.         10800
  535.         2
  536.         2
  537.         4680
  538.         3
  539.         9360
  540.     [txt]
  541. ashley bass
  542.  
  543.  
  544. >
  545.     [frght]
  546.     [lyfrm]
  547.         1
  548.         13248
  549.         0
  550.         14400
  551.         12240
  552.         15840
  553.         0
  554.         1
  555.         3
  556.         1 0 0 0 0 0 0
  557.         0
  558.         0
  559.         2
  560.     [frmlay]
  561.         15840
  562.         12240
  563.         1
  564.         1440
  565.         792
  566.         1
  567.         14472
  568.         1440
  569.         0
  570.         1
  571.         0
  572.         1
  573.         1
  574.         0
  575.         1
  576.         1440
  577.         10800
  578.         2
  579.         2
  580.         4680
  581.         3
  582.         9360
  583.     [txt]
  584. >
  585. [elay]
  586. [l1]
  587.     0
  588. [pg]
  589.     3
  590.     45 0 39 0 0 0 0 65535 2 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  591.     66 84 2 288 0 0 0 65535 2 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  592.     68 0 42 1281 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  593. [edoc]
  594. @Defines@<+@><:#284,9360><:f240,,><+,>Define    MoveWindow()    DllCall("User,MoveWindow,HHHHHHA",%1,%2,%3,%4,%5,%6)<-,>
  595.  
  596. @Defines@<:#284,9360><+,><:f240,,>Define    Get<-,><+,>Size()        DllCall("user,GetWindowRect,HHN",%1,%2)<-,>
  597.  
  598. @Function@<:#284,9360><-!><:f240,2Times New Roman,0,0,0>function begin(hdlg)
  599.  
  600. <:#284,9360><:f240,2Times New Roman,0,0,0>thisfile = getrunningmacrofile$()
  601.  
  602. <:#284,9360><:f240,2Times New Roman,0,0,0>metrics = getprofilestring$("wht-just", "Metrics", "{windir}amipro2.ini")
  603.  
  604. @If Endif@<:#284,9360><:f240,2Times New Roman,0,0,0>    if metrics != ""
  605.  
  606. <:#284,9360><:f240,2Times New Roman,0,0,0>        setdlgcallback(0, "{thisfile}!init")
  607.  
  608. @If Endif@<:#284,9360><:f240,2Times New Roman,0,0,0>    endif
  609.  
  610. <:#284,9360><:f240,2Times New Roman,0,0,0>setdlgcallback(20, "{thisfile}!curloc")
  611.  
  612. @If Endif@<+C><:#284,9360><:f240,2Times New Roman,0,0,0>DlgKeyInterrupt(<[>F1], "HelpFun")  ' This if F1
  613.  
  614. <+C><:#284,9360><:f240,2Times New Roman,0,0,0>Box = DialogBox(".", "main")
  615.  
  616. <:#284,9360><:f240,2Times New Roman,0,0,0>IF Box = -1
  617.  
  618. <:#284,9360><:f240,2Times New Roman,0,0,0>Message("Could not open dialog box; Exiting macro.")
  619.  
  620. <:#284,9360><:f240,2Times New Roman,0,0,0>EXIT FUNCTION
  621.  
  622. <:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 2<:f>
  623.  
  624. <+C><:#284,9360><:f240,2Times New Roman,0,0,0>exit function
  625.  
  626. <:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 3
  627.  
  628. <:#284,9360><:f240,2Times New Roman,0,0,0>LeftAlign()
  629.  
  630. <:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 4
  631.  
  632. <:#284,9360><:f240,2Times New Roman,0,0,0>Center()
  633.  
  634. <:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 5
  635.  
  636. <:#284,9360><:f240,2Times New Roman,0,0,0>RightAlign()
  637.  
  638. <:#284,9360><:f240,2Times New Roman,0,0,0>ELSEIF Box = 6
  639.  
  640. <:#284,9360><:f240,2Times New Roman,0,0,0>Justify()
  641.  
  642. <:#284,9360><:f240,2Times New Roman,0,0,0>ENDIF
  643.  
  644. <:#284,9360><:f240,2Times New Roman,0,0,0>END FUNCTION
  645.  
  646. <:#284,9360><-!><:f240,2Times New Roman,0,0,0>FUNCTION HelpFun(hdlg, key)
  647.  
  648. <:#284,9360><:f240,2Times New Roman,0,0,0>DialogBox(".","Helper")
  649.  
  650. @Function@<:#284,9360><:f240,2Times New Roman,0,0,0>end function
  651.  
  652. @Function@<:#284,9360><:f240,2Times New Roman,0,0,0>function init(hdlg)
  653.  
  654. <:#284,9360><:f240,2Times New Roman,0,0,0>metrics = getprofilestring$("wht-just", "Metrics", "{windir}amipro2.ini")
  655.  
  656. <:#284,9360><:f240,2Times New Roman,0,0,0>x = strfield$(metrics, 1, ",")
  657.  
  658. <:#284,9360><:f240,2Times New Roman,0,0,0>y = strfield$(metrics, 2, ",")
  659.  
  660. <:#284,9360><:f240,2Times New Roman,0,0,0>w = strfield$(metrics, 3, ",")
  661.  
  662. <:#284,9360><:f240,2Times New Roman,0,0,0>h = strfield$(metrics, 4, ",")
  663.  
  664. <:#284,9360><:f240,2Times New Roman,0,0,0>movewindow(hdlg, x, y, w, h, 1)
  665.  
  666. @Function@<:#284,9360><:f240,2Times New Roman,0,0,0>end function
  667.  
  668. @Function@<:#284,9360><:f240,2Times New Roman,0,0,0>function curloc(hdlg)
  669.  
  670. <:#284,9360><:f240,2Times New Roman,0,0,0>dim coord(4)
  671.  
  672. <:#284,9360><:f240,2Times New Roman,0,0,0>getsize(hdlg, &coord)
  673.  
  674. <:#284,9360><:f240,2Times New Roman,0,0,0>x = coord(1)
  675.  
  676. <:#284,9360><:f240,2Times New Roman,0,0,0>y = coord(2)
  677.  
  678. <:#284,9360><:f240,2Times New Roman,0,0,0>cx = coord(3)
  679.  
  680. <:#284,9360><:f240,2Times New Roman,0,0,0>cy = coord(4)
  681.  
  682. <:#284,9360><:f240,2Times New Roman,0,0,0>w = cx - x
  683.  
  684. <:f240,2Times New Roman,0,0,0>h = cy - y
  685.  
  686. <:f240,2Times New Roman,0,0,0>writeprofilestring("wht-just", "Metrics", strcat$(x, ",", y, ",", w, ",", h), "{windir}amipro2.ini")
  687.  
  688. <+@><:f240,2Times New Roman,0,0,0>end function
  689.  
  690. DIALOG    main
  691.  
  692. <:R1,20,1,720,1,1440,1,2160,1,2880,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3600,1,4320,1,5071,1,5775,1,6495,1,7200,1,7935,1,8579,>-2134900736    7    0    23    65    17    ""    "AmiDialog"    "Justification"
  693.  
  694. <:R>2    3    12    12    3    1342373896    "button"    "c:\amipro\icons\dlgicos\j_left.bmp"    0 
  695.  
  696. 15    3    12    12    4    1342373896    "button"    "c:\amipro\icons\dlgicos\j_center.bmp"    0 
  697.  
  698. 28    3    12    12    5    1342373896    "button"    "c:\amipro\icons\dlgicos\j_right.bmp"    0 
  699.  
  700. 41    3    12    12    6    1342373896    "button"    "c:\amipro\icons\dlgicos\j_justfy.bmp"    0 
  701.  
  702. 55    7    8    8    2    1342373896    "button"    "c:\amipro\icons\dlgicos\escape.bmp"    0 
  703.  
  704. 56    3    6    3    20    1342373888    "button"    ""    0 
  705.  
  706. 0    1    65    16    1002    1342177287    "static"    ""    0 
  707.  
  708. END DIALOG
  709.  
  710. <:f240,2Times New Roman,0,0,0>DIALOG    Helper
  711.  
  712. <:f240,2Times New Roman,0,0,0>-2143289344    7    118    50    130    63    ""    ""    ""
  713.  
  714. <:f240,2Times New Roman,0,0,0>46    46    40    14    2    1342373888    "button"    "&Close"    0 
  715.  
  716. <:f240,2Times New Roman,0,0,0>4    14    27    20    1001    1342177281    "static"    "Left Justified"    0 
  717.  
  718. <:f240,2Times New Roman,0,0,0>36    14    27    20    1003    1342177281    "static"    "  Center Justified"    0 
  719.  
  720. <:f240,2Times New Roman,0,0,0>66    14    31    20    1004    1342177281    "static"    "Right Justified"    0 
  721.  
  722. <:f240,2Times New Roman,0,0,0>99    14    28    23    1005    1342177281    "static"    "Fully Justified"    0 
  723.  
  724. <:#852,9360><:f240,2Times New Roman,0,0,0>2    1    126    37    20    1342308359    "button"    "JUSTIFICATION help"    0 
  725.  
  726. <:#560,9360><:f240,2Times New Roman,0,0,0>117    55    12    7    1000    1342177280    "static"    <:f240,2Times New Roman,255,255,255>"abb"    <:f240,2Times New Roman,0,0,0>0 
  727.  
  728. <:#280,9360><:f240,2Times New Roman,0,0,0>END DIALOG<:f>
  729.  
  730. >
  731.  
  732. [Embedded]
  733. 00009104
  734. >
  735. [macsum] 6
  736. begin 0 1 5 2
  737. HelpFun 558 2 1 26
  738. init 601 1 7 29
  739. curloc 849 1 9 37
  740. main 1127 0 -1 48
  741. Helper 1651 0 -1 58
  742. [macse]
  743. 14 begin
  744. 0 802
  745. 13
  746. 8 2
  747. 0 286 "wht-just" "Metrics" "{4}amipro2.ini"
  748. 13
  749. 8 3
  750. 6 3
  751. 7 ""
  752. 18 1
  753. 11 00000129
  754. 0 41 0 "{2}!init"
  755. 0 41 20 "{2}!curloc"
  756. 0 47 112 "HelpFun"
  757. 0 26 "." "main"
  758. 13
  759. 8 5
  760. 6 5
  761. 5 -1
  762. 18 0
  763. 11 00000301
  764. 0 3 "Could not open dialog box; Exiting macro."
  765. 6 1
  766. 15
  767. 9
  768. 10 00000546
  769. 6 5
  770. 5 2
  771. 18 0
  772. 11 00000355
  773. 6 1
  774. 15
  775. 9
  776. 10 00000546
  777. 6 5
  778. 5 3
  779. 18 0
  780. 11 00000406
  781. 2 259 1
  782. 10 00000546
  783. 6 5
  784. 5 4
  785. 18 0
  786. 11 00000457
  787. 2 260 1
  788. 10 00000546
  789. 6 5
  790. 5 5
  791. 18 0
  792. 11 00000508
  793. 2 261 1
  794. 10 00000546
  795. 6 5
  796. 5 6
  797. 18 0
  798. 11 00000546
  799. 2 262 1
  800. 6 1
  801. 15
  802. 9
  803. 14 HelpFun
  804. 0 26 "." "Helper"
  805. 6 2
  806. 15
  807. 9
  808. 14 init
  809. 0 286 "wht-just" "Metrics" "{3}amipro2.ini"
  810. 13
  811. 8 2
  812. 0 20 "{2}" 1 ","
  813. 13
  814. 8 4
  815. 0 20 "{2}" 2 ","
  816. 13
  817. 8 5
  818. 0 20 "{2}" 3 ","
  819. 13
  820. 8 6
  821. 0 20 "{2}" 4 ","
  822. 13
  823. 8 7
  824. 0 284 "User,MoveWindow,HHHHHHA" "{0}" "{4}" "{5}" "{6}" "{7}" 1
  825. 6 1
  826. 15
  827. 9
  828. 14 curloc
  829. 5 4
  830. 21 2 [X]
  831. 0 284 "user,GetWindowRect,HHN" "{0}" &2
  832. 5 1
  833. 22 2
  834. 8 3
  835. 5 2
  836. 22 2
  837. 8 4
  838. 5 3
  839. 22 2
  840. 8 5
  841. 5 4
  842. 22 2
  843. 8 6
  844. 6 5
  845. 6 3
  846. 3 1
  847. 8 7
  848. 6 6
  849. 6 4
  850. 3 1
  851. 8 8
  852. 0 16 "{3}" "," "{4}" "," "{7}" "," "{8}"
  853. 13
  854. 0 287 "wht-just" "Metrics" [X] "{9}amipro2.ini"
  855. 6 1
  856. 15
  857. 9
  858. DIALOG main
  859. -2134900736 7 0 23 65 17 "" "AmiDialog" "Justification" 
  860. 2 3 12 12 3 1342373896 "button" "c:\amipro\icons\dlgicos\j_left.bmp" 0 
  861. 15 3 12 12 4 1342373896 "button" "c:\amipro\icons\dlgicos\j_center.bmp" 0 
  862. 28 3 12 12 5 1342373896 "button" "c:\amipro\icons\dlgicos\j_right.bmp" 0 
  863. 41 3 12 12 6 1342373896 "button" "c:\amipro\icons\dlgicos\j_justfy.bmp" 0 
  864. 55 7 8 8 2 1342373896 "button" "c:\amipro\icons\dlgicos\escape.bmp" 0 
  865. 56 3 6 3 20 1342373888 "button" "" 0 
  866. 0 1 65 16 1002 1342177287 "static" "" 0 
  867. DIALOG Helper
  868. -2143289344 7 118 50 130 63 "" "" "" 
  869. 46 46 40 14 2 1342373888 "button" "&Close" 0 
  870. 4 14 27 20 1001 1342177281 "static" "Left Justified" 0 
  871. 36 14 27 20 1003 1342177281 "static" "  Center Justified" 0 
  872. 66 14 31 20 1004 1342177281 "static" "Right Justified" 0 
  873. 99 14 28 23 1005 1342177281 "static" "Fully Justified" 0 
  874. 2 1 126 37 20 1342308359 "button" "JUSTIFICATION help" 0 
  875. 117 55 12 7 1000 1342177280 "static" "abb" 0 
  876. 00009129
  877.